home *** CD-ROM | disk | FTP | other *** search
- noop
- /*
- *
- * This program is the property of Harvest Software Incorporated.
- * Copyright (c) 1988 Harvest Software Inc.
- *
- * All rights reserved.
- *
- * Title : "SCRNMENU.JIL"
- * Function: Monochrome slide menu
- *
- * Revised: 2-Feb-88 by LTH
- *
- * These macros were defined using information included in the
- * JIL IDF Developer's Package. More macros, menus, icons, figure
- * libraries, and strokes (JILWARE) may become available by 3rd
- * party developers as time goes by.
- */
-
- macro system-menu (
- menu 1 System1
- prev (hmsg Posts system3 menu;system-menu3)
- SETUP (hmsg Posts menu to setup JILCAD;setup-menu)
- ICONS (hmsg Posts menu for modifying icon pads;icon-menu)
- BINS (hmsg Posts menu for using bins;bins-menu)
- PARMS (hmsg Posts menu for setting parameters;parms-menu)
- SCREEN
- (hmsg Posts menu for reading and writing screen files;screen-menu)
- next (hmsg Posts system2 menu;system-menu2)
- quit (hmsg Allows you to quit out of JILCAD;doquit);
- common-pad;
- )
-
- macro screen-menu (
- menuid Screen;
- if $MTST( == false) (
- menu $MID Screen
- (view .MON) (hmsg View a MONOVIEW file;readscrn MON)
- (make .MON) (hmsg Create a MONOVIEW file;wrtscrn MON)
- () noop
- (view .PI3) (hmsg View a PI3 file;readscrn PI3)
- (make .PI3) (hmsg Create a PI3 file;wrtscrn PI3);
- )
- else (cantpost)
- )
-
- macro readscrn (
- doing SCREEN;
- get-file %1;
- if $T (
- read-mon $FILENM;
- echo Done viewing '$FILENM';
- )
- else (echo '$FILENM' does not exist);
- )
-
- macro wrtscrn (
- doing SCREEN;
- get-file %1;
- if $T (
- if [yes-no (File exists,|OK to rewrite?)]( == 1) (
- write-mon $FILENM;
- )
- )
- else (write-mon $FILENM);
- echo Done writing '$FILENM';
- )
-
-